public class Test {
    public static void main(String[] args) {
        TestHeap testHeap = new TestHeap();
        int[] array = {27, 15, 19, 18, 28, 34, 65};
        testHeap.initElem(array);
        testHeap.createHeap();
        for (int x : testHeap.elem) {
            System.out.print(x + " ");
        }
        System.out.println("\n===========");
        testHeap.push(90);
        for (int x : testHeap.elem) {
            System.out.print(x + " ");
        }
    }
}
